using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Collections;
namespace SharePointUtility
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new VFAUtility());

            //Console app test
            //Hashtable htDocMetadata = new Hashtable();
            //Hashtable htProtocolMetadata = new Hashtable();
            //htProtocolMetadata.Add("ProtocolNumber", "asdf");
            //string fileDestinationUrl = "InsightProtocolLibrary" + "/"+"123" + "/"+ "test.txt";
            //string protocolDestinationUrl = "InsightProtocolLibrary" + "/" + "123" ;

            //htDocMetadata["ProcessName"] = "process2";
            //htDocMetadata["AttachmentName"] = "Attachment2";
            //DocumentLibrary doclib = new DocumentLibrary();
            //doclib.UpdateMetadata("InsightProtocolLibrary", htDocMetadata, fileDestinationUrl);
            //doclib.UpdateMetadata("InsightProtocolLibrary", htProtocolMetadata, protocolDestinationUrl);

        }
    }
}